INPUTS

Hook
pointer to a struct Hook.
param1,...
zero or more parameters. The hook function will receive a pointer to the first parameter in register a1.